Skip to content

fix: HttpRangeReader stall detection, CDN re-resolve, HF API resolve Root cause: 21 GB tensor reads stall silently when HuggingFace CDN drops the TCP connection. curl sits forever with no data. Fixes: - --speed-limit 100000 --speed-time 30: abort if < 100 KB/s for 30s - Re-resolve URL on 403 (CDN token expiry after ~1 hour) - Segment-aligned fetches (no overlapping reads on sequential access) - 6 retries (was 4) with capped exponential backoff (max 32s) - from_hf() constructor: resolves via huggingface_hub Python API first, falls back to curl HEAD, then HF REST API. Stores repo/filename for automatic re-resolution on token expiry. - resolve_hf_url() tries 3 methods: Python HF API → curl HEAD → REST API https://claude.ai/code/session_01HmdXNPit7QsTCfhJFef3Ee#74

Merged
AdaWorldAPI merged 2 commits into
masterfrom
claude/index-llama-shards-A2Qzr
Apr 1, 2026

Conversation

@AdaWorldAPI
Copy link
Copy Markdown
Owner

No description provided.

claude added 2 commits March 30, 2026 22:20
The halftone path only sampled 9 of 17 golden-step positions and
interpolated the other 8 as neighbor averages. Those 8 bins carried
no real signal — dead planes in the projection.

Fix: stride octaves (skip every Nth octave) but sample ALL 17
golden-step positions per sampled octave. Every bin gets direct
measurement from actual weight values.

stride=16, 5120-col row: 19 octaves × 17 positions = 323 samples
across all 17 bins (was 171 samples across 9 real + 8 fake bins).

https://claude.ai/code/session_01HmdXNPit7QsTCfhJFef3Ee
Root cause: 21 GB tensor reads stall silently when HuggingFace CDN
drops the TCP connection. curl sits forever with no data.

Fixes:
- --speed-limit 100000 --speed-time 30: abort if < 100 KB/s for 30s
- Re-resolve URL on 403 (CDN token expiry after ~1 hour)
- Segment-aligned fetches (no overlapping reads on sequential access)
- 6 retries (was 4) with capped exponential backoff (max 32s)
- from_hf() constructor: resolves via huggingface_hub Python API first,
  falls back to curl HEAD, then HF REST API. Stores repo/filename for
  automatic re-resolution on token expiry.
- resolve_hf_url() tries 3 methods: Python HF API → curl HEAD → REST API

https://claude.ai/code/session_01HmdXNPit7QsTCfhJFef3Ee
@chatgpt-codex-connector
Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@AdaWorldAPI AdaWorldAPI merged commit 4fdce79 into master Apr 1, 2026
5 of 14 checks passed
AdaWorldAPI pushed a commit that referenced this pull request Apr 19, 2026
…ed PRs

Bookkeeping ledger pairing each prompt brief in .claude/prompts/ with its
matching PR (by filename keyword). 4 mapped to merged PRs #72/#73/#74/#105;
21 marked `none` where no keyword match existed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants